﻿@model IEnumerable<string>
<ul class="nav nav-pills nav-stacked">
    @foreach (var link in Model)
    {
        <li role="presentation" class="btn btn-block btn-default btn-lg @(ViewBag.SelectedCategory==link)?btn-primary:">
            @Html.RouteLink(link,new
       {
           Controller="Product",
           Action="List",
           category=link,
           page=1
       })
        </li>
    }
</ul>

                 
